package com.example.everying.model.entity.user;/*
 * 项目名称: everything
 * 文件名: LabelEntity
 * 作者: 张泽阳
 * 日期: 2025/5/23
 * 描述:
 */


import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "user_label")
public class LabelEntity {

    @ApiModelProperty(value = "用户标签id")
    private String id;

    @ApiModelProperty(value = "标签名称")
    private String labelName;

    @ApiModelProperty(value = "标签图片地址")
    private String labelPicUrl;

    @ApiModelProperty(value = "是否删除 0：否1：是")
    private Integer isDelete;

    @ApiModelProperty(value = "标签状态：0：启用 1：未启用")
    private Integer labelStatus;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime  createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime  updateTime;
}
